﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ECommerce.Library.Web;
using AutoGear.BLL;

public partial class master_public_regular : BaseMaster
{
    public String SupplierId
    {
        get
        {
            try
            {

                return Page.RouteData.Values["partnerId"].ToString();
            }
            catch
            {
                return string.Empty;
            }
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            LoadSiteMap();
        }
    }

    protected void LoadSiteMap()
    {
        hlkSiteMapHome.NavigateUrl = string.IsNullOrEmpty(SupplierId) ? CustomSiteMap.Home : "~/partner/" + SupplierId + "";
    }

}
